x86/traps: simplify and rename send_guest_trap
authorWei Liu <wei.liu2@citrix.com>
Fri, 23 Jun 2017 17:53:28 +0000 (18:53 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 28 Jun 2017 10:56:52 +0000 (11:56 +0100)
commit873dd3aaeb45068fe9018da5ff7fc48ee74603cf
tree0c3489ffe77f510c80bc1e22e60183ffcc759c85
parent34c06658c100414edc7bbbf23e284019facc965e
x86/traps: simplify and rename send_guest_trap

Rename it to pv_raise_interrupt. Simplify the code by using the vcpu
structure already at hand in the caller.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c
xen/include/asm-x86/pv/traps.h
xen/include/asm-x86/traps.h